package com.yunyi.camunda.mapper;

import com.yunyi.camunda.pojo.dto.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * user-mapper
 *
 * @author yunyi
 */
@Mapper
public interface IUserMapper {

    /**
     * 获取全部User
     *
     * @return 列表user
     */
    List<User> getAllUser();

    /**
     * 根据id获取user
     *
     * @param id user主键
     * @return User实体
     */
    User getUserById(Long id);

}
